class Request {
  constructor({url, callback, meta, method = 'GET'}) {
    this.url = url
    this.callback = callback
    this.method = method
    this.meta = meta
  }
}

class FormRequest extends Request {
  constructor({url, callback, meta, body, method = 'POST'}) {
    super({url, callback, meta, method})
    this.body = body
  }
}


module.exports = {
  Request,
  FormRequest
}

